package bean;

import java.util.Date;

/**
 * SnapComment entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class SnapComment implements java.io.Serializable {

	// Fields

	private Integer SCmtId;
	private User user;
	private UserSnapshot userSnapshot;
	private String commentTitle;
	private String commentContent;
	private Date createdAt;

	// Constructors

	/** default constructor */
	public SnapComment() {
	}

	/** minimal constructor */
	public SnapComment(Integer SCmtId, User user, UserSnapshot userSnapshot,
			String commentTitle) {
		this.SCmtId = SCmtId;
		this.user = user;
		this.userSnapshot = userSnapshot;
		this.commentTitle = commentTitle;
	}

	/** full constructor */
	public SnapComment(Integer SCmtId, User user, UserSnapshot userSnapshot,
			String commentTitle, String commentContent, Date createdAt) {
		this.SCmtId = SCmtId;
		this.user = user;
		this.userSnapshot = userSnapshot;
		this.commentTitle = commentTitle;
		this.commentContent = commentContent;
		this.createdAt = createdAt;
	}

	// Property accessors

	public Integer getSCmtId() {
		return this.SCmtId;
	}

	public void setSCmtId(Integer SCmtId) {
		this.SCmtId = SCmtId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public UserSnapshot getUserSnapshot() {
		return this.userSnapshot;
	}

	public void setUserSnapshot(UserSnapshot userSnapshot) {
		this.userSnapshot = userSnapshot;
	}

	public String getCommentTitle() {
		return this.commentTitle;
	}

	public void setCommentTitle(String commentTitle) {
		this.commentTitle = commentTitle;
	}

	public String getCommentContent() {
		return this.commentContent;
	}

	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}

	public Date getCreatedAt() {
		return this.createdAt;
	}

	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}

}